﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Runtime.InteropServices;
using Microsoft.Win32;



namespace typewriter
{
    public partial class frmSplash : Form
    {
       // private List<twPlugin> xplugins = new List<twPlugin>();
        
        public frmSplash()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            Frmtype f = new Frmtype();
           // f.takeit(tww);
            //SetTopmost(f.Handle, true);
            f.Show();
        }



        private void cmdSettings_Click(object sender, EventArgs e)
        {
            FrmSettings f = new FrmSettings();
            tw.SetTopmost(f.Handle, true);
            f.Show();
        }

        private void frmSplash_Load(object sender, EventArgs e)
        {

            if (tw.isfirstrun())
            {
                //MessageBox.Show("FIRST");
            }
            else
            {

            }


            tw.loadDefPlugins();

           


        }

        private void cmdLoad_Click(object sender, EventArgs e)
        {

        }


    }
}
